package echecs.init;

import java.awt.Color;
import java.awt.Image;

public interface ChessInterface {
    //The intern representation of the chessboard

    int[] board = new int[120];
    //a second board for the graphic
    int[] graphboard = new int[120];
    Color dunkel = new Color(0x999999);
    Color hell = new Color(0xFFFFCC);
    Color red = new Color(0xCC0000);
    Color green = new Color(0x009900);
    Color blue = new Color(0x000099);
    //the piece images
    Image[] pieces = new Image[18];
    //variables for Drag&Drop
    //y koordinate
    int[] movelist = new int[250];  	//valid move control   
    float minimax[] = new float[10];

    void newgame();

    void execute(int start, int end);

    float evaluation();

    boolean ischeck();

    void genmove();

    boolean isvalid(int move);
}
